﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fortuitus.Core
{
    public static class EnumerableExtensions
    {
        public static IOrderedList<T> ToIEnumerableArray<T>(this IEnumerable<T> list)
        {
            OrderedList<T> ret = new OrderedList<T>();

            foreach (var item in list)
            {
                ret.Add(item);
            }
            return ret;
        }
    }
}
